/**
 * APITable <https://github.com/apitable/apitable>
 * Copyright (C) 2022 APITable Ltd. <https://apitable.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/* eslint-disable max-len */
import React from 'react';
import { makeIcon, IIconProps } from '../utils/icon';

export const PublishFilled: React.FC<IIconProps> = makeIcon({
  Path: ({ colors }) => <>
    <path d="M8.62506 1.2448C8.23831 1.02151 7.76181 1.02151 7.37506 1.2448L2.4624 4.08113C2.07565 4.30442 1.8374 4.71708 1.8374 5.16366V10.8363C1.8374 11.2829 2.07565 11.6955 2.4624 11.9188L4.91873 13.337C5.27745 13.5441 5.73615 13.4212 5.94325 13.0625C6.15036 12.7038 6.02745 12.2451 5.66873 12.038L3.3374 10.692L3.3374 6.17405L7.61261 8.64231C7.63818 8.65771 7.66459 8.67152 7.69167 8.68371C7.79109 8.72869 7.89619 8.75022 8.00014 8.75011C8.10397 8.75019 8.20895 8.7287 8.30826 8.68379C8.33542 8.67158 8.3619 8.65773 8.38754 8.6423L12.6627 6.17405V7.99998C12.6627 8.4142 12.9985 8.74998 13.4127 8.74998C13.8269 8.74998 14.1627 8.41419 14.1627 7.99998V5.16366C14.1627 4.71707 13.9245 4.30441 13.5377 4.08112L8.62506 1.2448ZM11.9127 4.875L8.00006 7.13396L4.08737 4.875L8.00006 2.61601L11.9127 4.875Z" fill={ colors[0] } fillRule="evenodd" clipRule="evenodd"/>
    <path d="M10.625 9C10.8547 9 11.0603 9.10326 11.1979 9.2659L13.2766 11.3447C13.5695 11.6376 13.5695 12.1124 13.2766 12.4053C12.9837 12.6982 12.5089 12.6982 12.216 12.4053L11.375 11.5644L11.375 14.25C11.375 14.6642 11.0392 15 10.625 15C10.2108 15 9.875 14.6642 9.875 14.25L9.875 11.5643L9.03399 12.4053C8.7411 12.6982 8.26623 12.6982 7.97333 12.4053C7.68044 12.1124 7.68044 11.6376 7.97333 11.3447L10.0523 9.26567C10.1899 9.10316 10.3954 9 10.625 9Z" fill={ colors[0] }/>

  </>,
  name: 'publish_filled',
  defaultColors: ['#D9D9D9'],
  colorful: false,
  allPathData: ['M8.62506 1.2448C8.23831 1.02151 7.76181 1.02151 7.37506 1.2448L2.4624 4.08113C2.07565 4.30442 1.8374 4.71708 1.8374 5.16366V10.8363C1.8374 11.2829 2.07565 11.6955 2.4624 11.9188L4.91873 13.337C5.27745 13.5441 5.73615 13.4212 5.94325 13.0625C6.15036 12.7038 6.02745 12.2451 5.66873 12.038L3.3374 10.692L3.3374 6.17405L7.61261 8.64231C7.63818 8.65771 7.66459 8.67152 7.69167 8.68371C7.79109 8.72869 7.89619 8.75022 8.00014 8.75011C8.10397 8.75019 8.20895 8.7287 8.30826 8.68379C8.33542 8.67158 8.3619 8.65773 8.38754 8.6423L12.6627 6.17405V7.99998C12.6627 8.4142 12.9985 8.74998 13.4127 8.74998C13.8269 8.74998 14.1627 8.41419 14.1627 7.99998V5.16366C14.1627 4.71707 13.9245 4.30441 13.5377 4.08112L8.62506 1.2448ZM11.9127 4.875L8.00006 7.13396L4.08737 4.875L8.00006 2.61601L11.9127 4.875Z', 'M10.625 9C10.8547 9 11.0603 9.10326 11.1979 9.2659L13.2766 11.3447C13.5695 11.6376 13.5695 12.1124 13.2766 12.4053C12.9837 12.6982 12.5089 12.6982 12.216 12.4053L11.375 11.5644L11.375 14.25C11.375 14.6642 11.0392 15 10.625 15C10.2108 15 9.875 14.6642 9.875 14.25L9.875 11.5643L9.03399 12.4053C8.7411 12.6982 8.26623 12.6982 7.97333 12.4053C7.68044 12.1124 7.68044 11.6376 7.97333 11.3447L10.0523 9.26567C10.1899 9.10316 10.3954 9 10.625 9Z'],
  width: '16',
  height: '16',
  viewBox: '0 0 16 16',
});
